package com.d0309;

public class C {
    public void test(){
        System.out.println("c");
    }
}
class B extends C{
    public void test(){
        System.out.println("B");
    }
}
class A extends B{
    public void test(){
        super.test();
    }

    public static void main(String[] args) {
        A a=new A();
        a.test();
    }
        }